import Cart from '@/pages/cart'
import Cartlist from '@/pages/cart/list'

const CartRoutes = {
  path: 'cart',
  component: Cart,
  redirect: 'cart/list',
  meta:{//规定访问的权限账号
    requiresRole:[1],
  },
  children: [
    {
      path: 'list',
      component: Cartlist
    }
  ]
}
export default CartRoutes
